package com.mingdong.second.guanchazhe.observer;

public class ForcastObserver implements Observer {

	private double mhuilmit;
	private double mtemplete;
	private double mpressure;
	
	public void update(double mhuilmit, double mtemplete, double mpressure) {
		this.mhuilmit = mhuilmit;
		this.mtemplete = mtemplete;
		this.mpressure = mpressure;
		display();
	}

	public void display(){
		System.out.println(mhuilmit+"111111"+mtemplete+mpressure);
	}
}
